package com.chuangjiangx.member.stored.ddd.dal.dto;

import com.chuangjiangx.member.stored.ddd.dal.dto.MbrRefundDetail;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class MbrOrderDetail {

    /**
     * 会员订单表字段开始
     */
    private Long id;
    private String orderNumber;
    private Integer type;
    private Long merchantUserId;
    private Long merchantId;
    private Long storeId;
    private Long storeUserId;
    private Long memberId;
    private BigDecimal orderAmount;
    private BigDecimal discountAmount;
    private BigDecimal paidAmount;
    private BigDecimal refundAmount;
    private Date createTime;
    private Date updateTime;
    private Date paidTime;
    private Date refundTime;
    private Long mbrHasCouponId;
    private Integer status;
    private Integer payEntry;
    private Integer payType;
    private Integer payTerminal;
    private String orderPayNumber;
    private Long mbrRechargeRuleId;
    private String remark;
    /**
     * 会员订单表字段结束
     */


    /**
     * 会员手机号码
     */
    private String mobile;
    /**
     * 本次积分
     */
    private Integer score;
    /**
     * 本次交易后余额
     */
    private BigDecimal postTradingBalance;
    /**
     * 门店名称
     */
    private String storeName;
    /**
     * 收银员名称
     */
    private String cashierName;

    /**
     * 会员订单退款信息
     */
    private List<MbrRefundDetail> refundDetails;

    /**
     * 会员可用积分
     */
    private BigDecimal availableScore;

    /**
     * 会员名称
     */
    private String memberName;

    /**
     * 优惠券卡券名称
     */
    private String discountName;

    /**
     * 订单表订单ID
     */
    private Long orderId;

}
